package com.yuyou.fn.tradingservice.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 
 *
 */
@TableName(value = "shipping_address")
public class ShippingAddress implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ShippingAddress> createExample(){
		return new Example<ShippingAddress>(ShippingAddress.class);
	}

	/**  */
	@TableId(value = "address_id")
	private Long addressId;

	/** 用户id */
	@TableField(value = "user_id")
	private Long userId;

	/** 用户姓名 */
	@TableField(value = "user_name")
	private String userName;

	/** 用户手机号码 */
	@TableField(value = "phone_no")
	private String phoneNo;

	/** 收货地址 */
	@TableField(value = "person_address")
	private String personAddress;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 修改时间 */
	@TableField(value = "update_time")
	private Date updateTime;

	@TableField(value = "consignee")
	private String consignee;

	public String getConsignee() {
		return consignee;
	}

	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getAddressId() {
		return this.addressId;
	}

	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPhoneNo() {
		return this.phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getPersonAddress() {
		return this.personAddress;
	}

	public void setPersonAddress(String personAddress) {
		this.personAddress = personAddress;
	}

}
